﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewMessage.aspx.cs" Inherits="NewsgroupListSync.NewMessage" DynamicMasterPageFile="~masterurl/default.master" %>
<%@ Assembly Name="NntpClientLib, Version=0.9.0.0, Culture=neutral, PublicKeyToken=42d3eef815ada76b" %>

<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
Posting new message to <asp:Label runat="server" ID="newsgroupName" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderMain" runat="server">
<table>
   <!-- <tr>
        <td><b>NewsServer:</b></td>
    </tr>
    <tr>
        <td><asp:TextBox runat="server" ID="NewsServerTextBox" Width="300"/></td>
    </tr>
    <tr>
        <td><b>NewsGroup</b></td>
    </tr>
    <tr>
        <td><asp:TextBox runat="server" ID="NewsGroupTextBox"  Width="300"/></td>
    </tr>
    -->
    <tr>
        <td><b>From: </b></td>
    </tr>
    <tr>
        <td><asp:TextBox runat="server" ReadOnly="true" ID="FromTextBox" Text="anoymous@anon.com (Anonymous)"  Width="600"/></td>
    </tr>
    <tr>
        <td><b>Subject: </b></td>
    </tr>
    <tr>
        <td><asp:TextBox runat="server" ID="SubjectTextBox" Text="Test - Please Ignore."  Width="600"/></td>
    </tr>
    <tr>
        <td><b>Message: </b></td>
    </tr>
    <tr>
        <td><asp:TextBox runat="server" ID="MessageTextBox" TextMode="MultiLine" Width="600" Rows="10" Text="One line test message body." /></td>
    </tr>
    <tr>
        <td align="right"><asp:Button runat="server" ID="SubmitButton" Text="Post Message" OnClick="SubmitButton_Click" /><asp:Button runat="server" ID="Button3" Text="Cancel" OnClick="Cancel_Click" /></td>
    </tr>
    <tr>
        <td><asp:Label runat="server" ID="StatusLabel" /></td>
    </tr>
</table>
</asp:Content>

 
